fix(AppImage): bundle client translations
authorJyrki Gadinger <nilsding@nilsding.org>
Thu, 15 May 2025 15:11:04 +0000 (17:11 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 30 May 2025 07:39:22 +0000 (09:39 +0200)
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
admin/linux/build-appimage.sh

index 61b1b6f67e3e022ea3014886e4f1e1e0bb1aa683..8a5ccb436e2a0baac728c9b9dd915226654fe291 100755 (executable)
@@ -63,6 +63,10 @@ rm -rf usr/share/caja-python/
 rm -rf usr/share/nautilus-python/
 rm -rf usr/share/nemo-python/
 
+# The client-specific data dir also contains the translations, we want to have those in the AppImage.
+mkdir -p AppDir/usr/share
+mv usr/share/${EXECUTABLE_NAME} AppDir/usr/share/${EXECUTABLE_NAME}
+
 # Move sync exclude to right location
 mv /app/etc/*/sync-exclude.lst usr/bin/
 rm -rf etc